package cm.hyb.Controller.model;

import java.util.Date;

//import javax.validation.constraints.Min;
//import javax.validation.constraints.Pattern;

public class User {
	
	private String userName;
//	@Pattern(regexp = "\\W{6,15}")
	private String password;
//	@Min(value=29,message="太小了")  //参数验证
	private int userID;
	
	private Date date;
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getUserID() {
		return userID;
	}
	public void setUserID(int userID) {
		this.userID = userID;
	}
}
